import request from '@/utils/request'

// 查询重点人员管理列表
export function listEmphasis(query) {
  return request({
    url: '/backstage/EmphasisPeople/list',
    method: 'get',
    params: query
  })
}

// 查询重点人员管理详细
export function getEmphasis(cPeopleId) {
  return request({
    url: '/backstage/EmphasisPeople/' + cPeopleId,
    method: 'get'
  })
}

// 新增重点人员管理
export function addEmphasis(data) {
  return request({
    url: '/backstage/EmphasisPeople',
    method: 'post',
    data: data
  })
}

// 修改重点人员管理
export function updateEmphasis(data) {
  return request({
    url: '/backstage/EmphasisPeople',
    method: 'put',
    data: data
  })
}

// 删除重点人员管理
export function delEmphasis(cPeopleId) {
  return request({
    url: '/backstage/EmphasisPeople/' + cPeopleId,
    method: 'delete'
  })
}
